package yb.ecp.fast.infra.util;

/**
 * Created by john on 2017/10/19.
 */
public class StringUtil {
    public static boolean isNullOrEmpty(String str){
        if ( str == null ){
            return  true;
        }
        return str.isEmpty();
    }
    public static boolean isNullOrSpace(String str){
        if( str == null){
            return true;
        }
        return isNullOrEmpty(str.trim());
    }
}
